package org.ccccye.distributedlocks;

public interface DistributedLock {
    // value其实没必要
    boolean tryLock(String key, String value);

    boolean tryLock(String key, String value, int timeout);

    void unLock(String key, String value);
}
